package com.laterem.rtc.http;

import com.alibaba.fastjson.JSONObject;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.annotation.HttpExchange;

/**
 * @creator: alan wu
 * @dateTime: 2023/5/27 18:35
 * @desc:
 */
@HttpExchange
public interface HttpClient {

    @GetExchange("/shouji/query?appkey=#{appkey}&shouji=#{cellphone}")
    JSONObject getData(@RequestParam("appkey") String appkey, @RequestParam("cellphone") String cellphone);
}
